package com.atguigu.scala.chapter_06_simplification

object Scala_05 {
  def main(args: Array[String]): Unit = {
    def func2(a:Int):Int={
          a*2
        }

    def func1(f :Int=>Int):Int={
      f(10)
    }

    println(func1(func2))
  }
}
